package com.bao.pojo;

import java.util.List;

public class People {
  private Long p_id;
  private String p_name;
  private String p_sex;
  private List<Order> order;

  public List<Order> getOrder() {
    return order;
  }

  public void setOrder(List<Order> order) {
    this.order = order;
  }

  public Long getP_id() {
    return p_id;
  }

  public void setP_id(Long p_id) {
    this.p_id = p_id;
  }

  public String getP_name() {
    return p_name;
  }

  public void setP_name(String p_name) {
    this.p_name = p_name;
  }

  public String getP_sex() {
    return p_sex;
  }

  public void setP_sex(String p_sex) {
    this.p_sex = p_sex;
  }


  @Override
  public String toString() {
    return "People{" +
            "p_id=" + p_id +
            ", p_name='" + p_name + '\'' +
            ", p_sex='" + p_sex + '\'' +
            ", order=" + order +
            '}';
  }
}
